#========================================
#    author: Changlong.Zang
#      mail: zclongpop123@163.com
#      time: Sun Oct 18 13:50:21 2020
#========================================
import os
#--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
#-
ASSET_ROOT_PATH_PATTRN   = 'Z:/projects/xiaoheshang/publish/asset/{asset_type}/{asset}/{step}/{asset}.{step}.{task}.v???'

ASSET_SHADER_PATH_PATTRN = os.path.join(ASSET_ROOT_PATH_PATTRN.format(asset_type='{asset_type}',
                                                                      asset='{asset}',
                                                                      step='srf',
                                                                      task='surfacing'), 'shaders.ma')

ASSET_MAPPING_FILE_NAME  = 'shader_link.json'


#-
SHOT_ROOT_GROUPS = ('Cameras', 'Characters', 'Props', 'Envs', 'Asb', 'CFX', 'EFX', 'Lights')


SHOT_ROOT_PATH_PATTRN = 'Z:/projects/xiaoheshang/publish/shot/{seq}/{shot}/{step}/{shot}.{step}.{task}.v???'


SHOT_INFO_PATH_PATTRN = os.path.join(SHOT_ROOT_PATH_PATTRN.format(seq='{seq}',
                                                                  shot='{shot}',
                                                                  step='ani', 
                                                                  task='animation'), 'ani_info.dict')


SHOT_ANI_CACHE_PATTRN = os.path.join(SHOT_ROOT_PATH_PATTRN.format(seq='{seq}',
                                                                  shot='{shot}',
                                                                  step='ani', 
                                                                  task='animation'))


SHOT_FUR_CACHE_PATTRN = os.path.join(SHOT_ROOT_PATH_PATTRN.format(seq='{seq}',
                                                                  shot='{shot}',
                                                                  step='cfx',
                                                                  task='fur'), 'yeti_cache')
